//
//  PreviewHelper.h
//  justcar
//
//  Created by Jingjing Huang on 27/01/17.
//  Copyright © 2017 Jingjing Huang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ImagePreviewCollectionView.h"
#import "ImagePreviewCollectionViewCell.h"

@interface PreviewHelper : NSObject

+(ImagePreviewCollectionView *)createCollectionView:(UIView *)view previewPhotos:(NSMutableArray *)previewPhotos selectedIndex:(int)selectedIndex indexDidChanged:(ImagePreviewCollectionViewBlock) indexDidChanged;

+(void)createSlideShow:(UIImageView *)img previewPhotos:(NSMutableArray *)previewPhotos selectedIndex:(int)selectedIndex;

@end
